<div class="page-header position-relative">
	<h1>
		Tạo Mới Thương Hiệu
	</h1>
</div>
<div class="row-fluid">
	<div class="span12">
		<!--PAGE CONTENT BEGINS-->
		<?php
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'brand-form',
//            'enableAjaxValidation' => false,
			'enableClientValidation' => true,
			'htmlOptions' => array(
				'class' => 'form-horizontal',
				),
			));
		?>
			<div class="control-group">
				<?php echo $form->label($model,'Tên Thương Hiệu',array('class' => 'control-label')); ?>
				<!-- <label class="control-label" for="form-field-1">Text Field</label> -->

				<div class="controls">
					<?php echo $form->textField($model, 'BrandName', array('size' => 60, 'maxlength' => 255,'class'=>'span5','placeholder' => 'Thương Hiệu')); ?>
                	<span class="help-inline"><?php echo $form->error($model, 'BrandName'); ?></span>
				</div>
			</div>

			<div class="control-group">
				<?php echo $form->label($model,'Mô Tả Thương Hiệu',array('class' => 'control-label')); ?>

				<div class="controls">
					<?php echo $form->textField($model, 'Descriptions', array('size' => 60, 'maxlength' => 255,'class'=>'span5','placeholder' => 'Mô Tả Thương Hiệu')); ?>
                	<span class="help-inline"><?php echo $form->error($model, 'Descriptions'); ?></span>
				</div>
			</div>

			<div class="control-group">
				<?php echo $form->label($model,'Trạng Thái',array('class' => 'control-label')); ?>

				<div class="controls">
					<select class="span3" name="Brand[Status]">
						<option value="0">Không kích hoạt</option>
						<option value="1">Kích hoạt</option>
					</select>
                	<span class="help-inline"><?php echo $form->error($model, 'Status'); ?></span>
				</div>
			</div>
			<div class="form-actions">
				<button class="btn btn-info" type="submit">
					<i class="icon-ok bigger-110"></i>
					Submit
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="icon-undo bigger-110"></i>
					Reset
				</button>
			</div>
		<?php $this->endWidget(); ?>
	</div>
</div>
